<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>Open Event Machine API: event_machine_core_mask.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Open Event Machine API
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('event__machine__core__mask_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">event_machine_core_mask.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Event Machine core mask functions.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="event__machine_8h_source.html">event_machine.h</a>&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for event_machine_core_mask.h:</div>
<div class="dyncontent">
<div class="center"><img src="event__machine__core__mask_8h__incl.png" border="0" usemap="#event__machine__core__mask_8h" alt=""/></div>
<map name="event__machine__core__mask_8h" id="event__machine__core__mask_8h">
<area shape="rect" id="node3" href="event__machine_8h.html" title="Event Machine API v1.0." alt="" coords="312,99,429,127"/><area shape="rect" id="node5" href="event__machine__types_8h.html" title="Event Machine basic types." alt="" coords="103,177,257,205"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="event__machine__core__mask_8h__dep__incl.png" border="0" usemap="#event__machine__core__mask_8hdep" alt=""/></div>
<map name="event__machine__core__mask_8hdep" id="event__machine__core__mask_8hdep">
<area shape="rect" id="node3" href="event__machine__helper_8h.html" title="Event Machine helper functions and macros." alt="" coords="5,99,165,127"/></map>
</div>
</div>
<p><a href="event__machine__core__mask_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:af1b1c53ca99e4e2da2279aaaf85f7207"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event__machine__core__mask_8h.html#af1b1c53ca99e4e2da2279aaaf85f7207">em_core_mask_zero</a> (<a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *mask)</td></tr>
<tr class="memdesc:af1b1c53ca99e4e2da2279aaaf85f7207"><td class="mdescLeft">&#160;</td><td class="mdescRight">Zero the whole mask.  <a href="#af1b1c53ca99e4e2da2279aaaf85f7207">More...</a><br/></td></tr>
<tr class="separator:af1b1c53ca99e4e2da2279aaaf85f7207"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0addd1930c8cedb273d83a37226bc6b"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event__machine__core__mask_8h.html#ad0addd1930c8cedb273d83a37226bc6b">em_core_mask_set</a> (int core, <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *mask)</td></tr>
<tr class="memdesc:ad0addd1930c8cedb273d83a37226bc6b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a bit in the mask.  <a href="#ad0addd1930c8cedb273d83a37226bc6b">More...</a><br/></td></tr>
<tr class="separator:ad0addd1930c8cedb273d83a37226bc6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbcd01ad828207a64173f3ac2f6dedc7"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event__machine__core__mask_8h.html#abbcd01ad828207a64173f3ac2f6dedc7">em_core_mask_clr</a> (int core, <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *mask)</td></tr>
<tr class="memdesc:abbcd01ad828207a64173f3ac2f6dedc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear a bit in the mask.  <a href="#abbcd01ad828207a64173f3ac2f6dedc7">More...</a><br/></td></tr>
<tr class="separator:abbcd01ad828207a64173f3ac2f6dedc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0543c4db1741a354eb972adbe97a4a3"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event__machine__core__mask_8h.html#ad0543c4db1741a354eb972adbe97a4a3">em_core_mask_isset</a> (int core, const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *mask)</td></tr>
<tr class="memdesc:ad0543c4db1741a354eb972adbe97a4a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test if a bit is set in the mask.  <a href="#ad0543c4db1741a354eb972adbe97a4a3">More...</a><br/></td></tr>
<tr class="separator:ad0543c4db1741a354eb972adbe97a4a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6060bc6c237065aaa524e47fc35cb9f"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event__machine__core__mask_8h.html#ad6060bc6c237065aaa524e47fc35cb9f">em_core_mask_iszero</a> (const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *mask)</td></tr>
<tr class="memdesc:ad6060bc6c237065aaa524e47fc35cb9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test if the mask is all zero.  <a href="#ad6060bc6c237065aaa524e47fc35cb9f">More...</a><br/></td></tr>
<tr class="separator:ad6060bc6c237065aaa524e47fc35cb9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a128764ed09e6b936fd52a93693c690b4"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event__machine__core__mask_8h.html#a128764ed09e6b936fd52a93693c690b4">em_core_mask_equal</a> (const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *mask1, const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *mask2)</td></tr>
<tr class="memdesc:a128764ed09e6b936fd52a93693c690b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test if two masks are equal.  <a href="#a128764ed09e6b936fd52a93693c690b4">More...</a><br/></td></tr>
<tr class="separator:a128764ed09e6b936fd52a93693c690b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f1e37b10969270b6f24868ddcef381d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event__machine__core__mask_8h.html#a8f1e37b10969270b6f24868ddcef381d">em_core_mask_set_count</a> (int count, <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *mask)</td></tr>
<tr class="memdesc:a8f1e37b10969270b6f24868ddcef381d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a range (0...count-1) of bits in the mask.  <a href="#a8f1e37b10969270b6f24868ddcef381d">More...</a><br/></td></tr>
<tr class="separator:a8f1e37b10969270b6f24868ddcef381d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa55a8af23d41b28ad472f6aeb825d7e6"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event__machine__core__mask_8h.html#aa55a8af23d41b28ad472f6aeb825d7e6">em_core_mask_copy</a> (<a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *dest, const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *src)</td></tr>
<tr class="memdesc:aa55a8af23d41b28ad472f6aeb825d7e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy core mask.  <a href="#aa55a8af23d41b28ad472f6aeb825d7e6">More...</a><br/></td></tr>
<tr class="separator:aa55a8af23d41b28ad472f6aeb825d7e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affb762ae521f0feeef00bf48b2fb0739"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="event__machine__core__mask_8h.html#affb762ae521f0feeef00bf48b2fb0739">em_core_mask_count</a> (const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *mask)</td></tr>
<tr class="memdesc:affb762ae521f0feeef00bf48b2fb0739"><td class="mdescLeft">&#160;</td><td class="mdescRight">Count the number of bits set in the mask.  <a href="#affb762ae521f0feeef00bf48b2fb0739">More...</a><br/></td></tr>
<tr class="separator:affb762ae521f0feeef00bf48b2fb0739"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Event Machine core mask functions. </p>
<p>This implementation is generic C - non HW optimized. </p>

<p>Definition in file <a class="el" href="event__machine__core__mask_8h_source.html">event_machine_core_mask.h</a>.</p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="af1b1c53ca99e4e2da2279aaaf85f7207"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void em_core_mask_zero </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>mask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Zero the whole mask. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>Core mask </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="event__machine__core__mask_8h_source.html#l00067">67</a> of file <a class="el" href="event__machine__core__mask_8h_source.html">event_machine_core_mask.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad0addd1930c8cedb273d83a37226bc6b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void em_core_mask_set </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>core</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set a bit in the mask. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">core</td><td>Core id </td></tr>
    <tr><td class="paramname">mask</td><td>Core mask </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="event__machine__core__mask_8h_source.html#l00079">79</a> of file <a class="el" href="event__machine__core__mask_8h_source.html">event_machine_core_mask.h</a>.</p>

</div>
</div>
<a class="anchor" id="abbcd01ad828207a64173f3ac2f6dedc7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void em_core_mask_clr </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>core</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clear a bit in the mask. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">core</td><td>Core id </td></tr>
    <tr><td class="paramname">mask</td><td>Core mask </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="event__machine__core__mask_8h_source.html#l00091">91</a> of file <a class="el" href="event__machine__core__mask_8h_source.html">event_machine_core_mask.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad0543c4db1741a354eb972adbe97a4a3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int em_core_mask_isset </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>core</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Test if a bit is set in the mask. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">core</td><td>Core id </td></tr>
    <tr><td class="paramname">mask</td><td>Core mask</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Non-zero if core id is set in the mask </dd></dl>

<p>Definition at line <a class="el" href="event__machine__core__mask_8h_source.html#l00105">105</a> of file <a class="el" href="event__machine__core__mask_8h_source.html">event_machine_core_mask.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad6060bc6c237065aaa524e47fc35cb9f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int em_core_mask_iszero </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>mask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Test if the mask is all zero. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>Core mask</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Non-zero if the mask is all zero </dd></dl>

<p>Definition at line <a class="el" href="event__machine__core__mask_8h_source.html#l00118">118</a> of file <a class="el" href="event__machine__core__mask_8h_source.html">event_machine_core_mask.h</a>.</p>

</div>
</div>
<a class="anchor" id="a128764ed09e6b936fd52a93693c690b4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int em_core_mask_equal </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>mask1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>mask2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Test if two masks are equal. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask1</td><td>First core mask </td></tr>
    <tr><td class="paramname">mask2</td><td>Second core mask</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Non-zero if the two masks are equal </dd></dl>

<p>Definition at line <a class="el" href="event__machine__core__mask_8h_source.html#l00132">132</a> of file <a class="el" href="event__machine__core__mask_8h_source.html">event_machine_core_mask.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8f1e37b10969270b6f24868ddcef381d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void em_core_mask_set_count </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>mask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set a range (0...count-1) of bits in the mask. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">count</td><td>Number of bits to set </td></tr>
    <tr><td class="paramname">mask</td><td>Core mask </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="event__machine__core__mask_8h_source.html#l00144">144</a> of file <a class="el" href="event__machine__core__mask_8h_source.html">event_machine_core_mask.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa55a8af23d41b28ad472f6aeb825d7e6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void em_core_mask_copy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>dest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>src</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy core mask. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dest</td><td>Destination core mask </td></tr>
    <tr><td class="paramname">src</td><td>Source core mask </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="event__machine__core__mask_8h_source.html#l00156">156</a> of file <a class="el" href="event__machine__core__mask_8h_source.html">event_machine_core_mask.h</a>.</p>

</div>
</div>
<a class="anchor" id="affb762ae521f0feeef00bf48b2fb0739"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int em_core_mask_count </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="unionem__core__mask__t.html">em_core_mask_t</a> *&#160;</td>
          <td class="paramname"><em>mask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Count the number of bits set in the mask. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">mask</td><td>Core mask</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Number of bits set </dd></dl>

<p>Definition at line <a class="el" href="event__machine__core__mask_8h_source.html#l00169">169</a> of file <a class="el" href="event__machine__core__mask_8h_source.html">event_machine_core_mask.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="event__machine__core__mask_8h.html">event_machine_core_mask.h</a></li>
    <li class="footer">Generated on Wed Aug 7 2013 15:17:39 for Open Event Machine API by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.3.1 </li>
  </ul>
</div>
</body>
</html>
